package com.deram.ctin.serv.business.service;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.business.entity.BaseUpdateInfo;
import com.deram.ctin.serv.business.entity.BusinessQualification;
import com.deram.ctin.serv.business.filter.BusinessQualificationFilter;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/13 16:09
 * @version: V1.0
 */
public interface BusinessQualificationService {

    BusinessQualification find(Long id);

    List<BusinessQualification> list(BusinessQualificationFilter filter);

    BusinessQualification save(BusinessQualification param);

    void delete(Long id);

    void deleteByEnterId(Long id);

    void saveList(BaseUpdateInfo<BusinessQualification> updateInfo);

    PageResult<BusinessQualification> search( BusinessQualificationFilter filter,  Integer pageNo,  Integer pageSize);
}
